(global.webpackJsonp = global.webpackJsonp || []).push([ [ "components/kp-img/index" ], {
    "29ed": function(n, t, e) {
        e.d(t, "b", function() {
            return o;
        }), e.d(t, "c", function() {
            return i;
        }), e.d(t, "a", function() {});
        var o = function() {
            this.$createElement;
            this._self._c;
        }, i = [];
    },
    "5da5": function(n, t, e) {
        (function(n) {
            Object.defineProperty(t, "__esModule", {
                value: !0
            }), t.default = void 0;
            var e = {
                props: {
                    imageSrc: {
                        type: String
                    },
                    radius: {
                        type: String,
                        default: "4px"
                    },
                    mode: {
                        type: String
                    },
                    scrollTop: {
                        type: Number
                    },
                    loadingMode: {
                        type: String,
                        default: "looming-gray"
                    },
                    openTransition: {
                        type: Boolean,
                        default: !1
                    },
                    height: {
                        type: Number
                    },
                    viewHeight: {
                        type: Number,
                        default: function() {
                            return n.getSystemInfoSync().windowHeight;
                        }
                    }
                },
                watch: {
                    scrollTop: function(n) {
                        this.onScroll(n);
                    }
                },
                data: function() {
                    return {
                        uid: "",
                        loadImg: !1,
                        showImg: !1,
                        isLoadError: !1,
                        showTransition: !1
                    };
                },
                methods: {
                    init: function() {
                        this.uid = "uid-" + "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(n) {
                            var t = 16 * Math.random() | 0;
                            return ("x" == n ? t : 3 & t | 8).toString(16);
                        }), this.$nextTick(this.onScroll);
                    },
                    handleImgLoad: function(n) {
                        var t = this;
                        this.showImg = !0, setTimeout(function() {
                            t.showTransition = !0;
                        }, 50);
                    },
                    handleImgError: function(n) {
                        this.isLoadError = !0;
                    },
                    onScroll: function(t) {
                        var e = this;
                        if (!this.loadImg && !this.isLoadError) {
                            var o = this.uid;
                            n.createSelectorQuery().in(this).select("#" + o).boundingClientRect(function(n) {
                                n && n.top - e.viewHeight < 0 && (e.loadImg = !0);
                            }).exec();
                        }
                    }
                },
                mounted: function() {
                    this.init();
                }
            };
            t.default = e;
        }).call(this, e("543d").default);
    },
    "91de": function(n, t, e) {
        e.r(t);
        var o = e("5da5"), i = e.n(o);
        for (var r in o) "default" !== r && function(n) {
            e.d(t, n, function() {
                return o[n];
            });
        }(r);
        t.default = i.a;
    },
    a75b: function(n, t, e) {
        e.r(t);
        var o = e("29ed"), i = e("91de");
        for (var r in i) "default" !== r && function(n) {
            e.d(t, n, function() {
                return i[n];
            });
        }(r);
        e("e48c");
        var a = e("f0c5"), c = Object(a.a)(i.default, o.b, o.c, !1, null, "532bf9b9", null, !1, o.a, void 0);
        t.default = c.exports;
    },
    d0bb: function(n, t, e) {},
    e48c: function(n, t, e) {
        var o = e("d0bb");
        e.n(o).a;
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "components/kp-img/index-create-component", {
    "components/kp-img/index-create-component": function(n, t, e) {
        e("543d").createComponent(e("a75b"));
    }
}, [ [ "components/kp-img/index-create-component" ] ] ]);